<!doctype html>
<html>
    <head>
        <title>Demo Feed News</title>
        <meta charset="utf-8" />
    </head>
    <body>
        <?php
            $count_news = count($title_news);
            $stt = 1;
            for($i=0; $i<$count_news; $i++){
                if($title_news[$i] != NULL || $title_news[$i] != ""){
                    echo "<p><a href='" . $title_news[$i] . "'>" . $stt . " - " . $text_news[$i] . "</a><br>";
                    echo $summary_news[$i] . "</p>";
                    echo $content_news[$i];
                    $stt++;
                }
            }
        ?>
    </body>
</html>